package com.blog.blog.service;

import com.blog.blog.vo.ResumeDetailVO;

public interface ResumeService {
	ResumeDetailVO getResume();

	/** 根据用户ID获取其简历 */
	ResumeDetailVO getResumeByUserId(Long userId);

	/** 为指定用户创建或更新简历基本信息 */
	boolean upsertResume(Long userId, com.blog.blog.dto.SaveResumeDTO dto);

	// 经验/技能/项目 CRUD（仅限简历属主）
	Long addExperience(Long userId, com.blog.blog.vo.WorkExperienceVO vo);
	boolean updateExperience(Long userId, com.blog.blog.vo.WorkExperienceVO vo);
	boolean deleteExperience(Long userId, Long id);

	Long addSkill(Long userId, com.blog.blog.vo.SkillVO vo);
	boolean updateSkill(Long userId, com.blog.blog.vo.SkillVO vo);
	boolean deleteSkill(Long userId, Long id);

	Long addProject(Long userId, com.blog.blog.vo.ProjectVO vo);
	boolean updateProject(Long userId, com.blog.blog.vo.ProjectVO vo);
	boolean deleteProject(Long userId, Long id);

	Long addEducation(Long userId, com.blog.blog.vo.EducationVO vo);
	boolean updateEducation(Long userId, com.blog.blog.vo.EducationVO vo);
	boolean deleteEducation(Long userId, Long id);
}


